login_page_html = """
<html>
<body>
<form action="$action" method="post">
<table>
<tr><td>Email:</td><td><input name="email"></td></tr>
<tr><td>Password:</td><td><input name="password" type="password"></td></tr>
<tr><td colspan="2"><input type="submit" value="Login" /> or <a href="/">cancel</a></td></tr>
</table>
</body>
</html>"""

main_page_logout_html = """
<html>
<body>
Hello $name, feel free to <a href="$logout_url">logout</a>.
</body>
</html>
"""

main_page_login_html = """
<html>
<body>
We do not know you, please <a href="$login_url">login</a> or <a href="/signup">signup</a>.
</body>
</html>
"""

signup_page_html = """
<html>
<body>
<form action="/signup" method="post">
<table>
<tr><td>Name:</td><td><input name="name"></td></tr>
<tr><td>Email:</td><td><input name="email"></td></tr>
<tr><td>Password:</td><td><input name="password" type="password"></td></tr>
<tr><td colspan="2"><input type="submit" value="Signup"</input> or <a href="/">cancel</a></td></tr>
</table>
</body>
</html>
"""
